<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=2.0">
<link href="${domain}/static/style/admin_style.css" rel="stylesheet" type="text/css">
<title>管理员登录 - zhengqiang's blog</title>
</head>
<body>
	<div>
		<form action="/login/auth" method="post">
			<table class="login_tbl">
				<thead>
					<tr>
						<th colspan="2"><h2>管理员登录</h2></th>
					</tr>
				</thead>
				<tbody>
					<c:if test="${not empty messages}">
					<tr>
						<td colspan="2">
							<ul class="error">
							<c:forEach items="${messages}" var="message"><li>${message}</li></c:forEach>
							</ul>
						</td>
					</tr>
					</c:if>
					<tr>
						<td><label for="login">帐号：</label></td>
						<td><input type="text" name="login" id="login" class="input" required="required" /></td>
					</tr>
					<tr>
						<td><label for="password">密码：</label></td>
						<td><input type="password" name="password" id="password" class="input" required="required" /></td>
					</tr>
					<tr>
						<td colspan="2" style="text-align: center;">
							<input type="submit" value="登 录" class="btn btn_g" />
						</td>
					</tr>
				</tbody>
			</table>
		</form>
	</div>
</body>
</html>